package com.shenma2009.vo;

import lombok.Data;

import java.io.Serializable;

/**
 * @author 12692
 * @version 1.0
 * @description: UploadImageResultWang
 * @date 2023/4/23 9:58
 */

@Data
public class UploadImageResultWang implements Serializable {
    private int errno;
    private String msg;
    private UploadData data;

    public UploadImageResultWang(int errno, String msg, String url, String alt, String href) {
        this.errno = errno;
        this.msg = msg;
        this.data = new UploadData();

        this.data.setUrl(url);
        this.data.setAlt(alt);
        this.data.setHref(href);
    }
}

@Data
class UploadData implements Serializable{
    private String url;
    private String alt;
    private String href;
}